<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<base href="${basePath}">
<script src="static/js/student.js" type="text/javascript"></script>
<jsp:include page="../header.jsp">
	<jsp:param value="学员缴费" name="title"/>
</jsp:include>
<link href="static/css/slq/total.css" type="text/css" rel="stylesheet">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script type="text/javascript">
	function removeError() {
		setTimeout(removeDiv(), 5000);
	}
	function removeDiv() {
		var errorDiv=document.getElementById("error");
		errorDiv.style.display="none"; 
	}
</script>
</head>
<body onLoad=setTimeout("error.style.display='none'",2000)>
<form action="payment?totalId=${totalId}&stuId=${stuid}&totalStudentNames=${totalStudentName}&stuclasss=${stuclass}&totalMoneys=${totalMoney}&totalNoMoneys=${totalNoMoney}" method="post">
	<div class = "gps">
		<a class = "home" href="staff?method=forward">首页</a>
		<sapn>></sapn>	
		<a href="total">收款管理</a>
		<sapn>></sapn>	
		<a href="payment">学员缴费</a>
	</div>
	<table class="ui  celled table" id="total">
		<thead>
			<tr>
				<th colspan="7">收款表</th>
			</tr>
		</thead>
		<tbody align="center">
			<%-- <tr>
				<td>缴费人</td>
				<td><input class="inp" type="text" name="totalStudentName" value="${param.totalStudentName}">${totalStudentName}</td>
			</tr> --%>
			<tr>
				<td >缴费人</td>
				<td>${totalStudentName}</td>
			</tr>
			<tr>
				<td >班级</td>
				<td>${stuclass}</td>
			</tr>
			<tr>
				<td >应缴金额</td>
				<td>${totalMoney}</td>
			</tr>
			<tr>
				<td >未缴金额</td>
				<td>${totalNoMoney}</td>
			</tr>
			<tr>
				<td >缴费金额</td>
				<td >
					<input type="text" name="payMoneys" value="${payMoneys}">
				</td>
			</tr>
			
				<tr>
					<td >收款人</td>
					<td >
						<select name="staffId">
							<option>选择收款人</option>
							<c:forEach items="${payeeList}" var="payee">
								<option value="${payee.staffId}">${payee.staffName}</option>
							</c:forEach>
						</select>
					</td>
				</tr>
				<tr>
					<td colspan="2">
						<div style="margin-bottom: 10px;" id="error"><sapn>${error}</sapn></div>
						<button type="submit" class="mini ui blue button" >提交</button>
						<%-- <a class="mini ui blue button" href="payment?totalStudentNames=${totalStudentName}&stuclasss=${stuclass}&totalMoneys=${totalMoney}&dates=${param.dates}&staff_names=${staff_name}">提交</a> --%>
					</td>
				</tr>
		</tbody>
	</table>
</form>
</body>
</html>